<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<html>
<head>
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>饭店注册</title>
	<link rel="stylesheet" type="text/css"  href="styles/styles.css"/>
    <script type="text/javascript" src="js/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="js/times.js"></script>
    <script type="text/javascript" src="js/onlinehotel/registerHotel.js"></script>
</head>
<body>
	<form:form modelAttribute="hotel" action="hotel.do" method="post">
		<p><a href="<c:url value="/registerUser.do"/>"/>点餐员注册</a>　　<a href="<c:url value="/registerSender.do"/>"/>送餐员注册</a>　
		　<a href="<c:url value="/registerHotel.do"/>"/>饭店注册</a></p>
		<p>帐　　号：<form:errors path="hotelAccount" cssClass="errors" /><form:input path="hotelAccount" size="20" />
				 	&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="hotelAccountSpan"></span></p>
		<p>密　　码：<form:errors path="hotelPassword" cssClass="errors" /><form:password path="hotelPassword" size="21" />
					&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="hotelPasswordSpan"></span></p>
		<p>密码确认：<input type="password" id="hotelPassword2" size="21" />
				 	&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="hotelPassword2Span"></span></p>
		<p>饭店名称：<form:errors path="hotelName" cssClass="errors" /><form:input path="hotelName" size="20"  />
				 	&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="hotelNameSpan"></span></p>
		<p>饭店地址：<form:input path="location" size="20" /></p>
		<p>送餐范围：<form:select path="sendScope" ><form:option value="福州市">福州市</form:option></form:select></p>
		<p>营业时间：<form:errors path="startTime" cssClass="errors" /><form:input path="startTime" size="8" onclick="_SetTime(this)"/>--
					<form:errors path="EndTime" cssClass="errors" /><form:input path="EndTime" size="8" onclick="_SetTime(this)" />
					&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="TimeSpan"></span></p>
		<p>负   责  人：<form:errors path="hotelBoss" cssClass="errors" /><form:input path="hotelBoss" size="20" />
				 	&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="hotelBossSpan"></span></p>
		<p>联系电话：<form:errors path="phone" cssClass="errors" /><form:input path="phone" size="20" />
					&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font>
					<span id="phoneSpan"></span></p>
				
<!--			<p>-->
<!--				<input type="checkbox" />-->
<!--				我同意-->
<!--				<a href="<c:url value=""/>" target="_blank"><font color="red">非常网餐服务协议</font></a>-->
<!--			</p>-->

		<input type="hidden" id="method" name="method" value="addHotel"/>
		<p>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="btnHotel" value="完成注册"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="outHotelRegister" value="退出注册"/></p>
	</form:form>
</body>
</html>